﻿using System;

namespace YaAppoint.CustomSettings
{
    public class CustomSettingDto
    {
        /// <summary>
        /// 层级
        /// </summary>
        public SettingLevel Level { get; set; }


        public Guid? Id { get; set; }

        /// <summary>
        /// 科室ID
        /// </summary>
        public Guid? DepartmentId { get; set; }

        /// <summary>
        /// 设备类型ID
        /// </summary>
        public Guid? DeviceTypeId { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public Guid? DeviceId { get; set; }

        /// <summary>
        /// 可预约天数
        /// </summary>
        public int? AppointableCount { get; set; }

        /// <summary>
        /// 自动预约可预约天数
        /// 超过则自动预约失败
        /// </summary>
        public int? AutoAppointableCount { get; set; }

        /// <summary>
        /// 最早提前签到时间
        /// </summary>
        public int? Earliest { get; set; }

        /// <summary>
        /// 签到模式设置
        /// </summary>
        public CheckInMode? CheckInMode { get; set; }

        /// <summary>
        /// 最晚提前预约时间
        /// </summary>
        public int? LatestAppoint { get; set; }

        public bool? UnpaidWillBeCancel { get; set; } = null;

        public int? UnpaidTimeLimit { get; set; }

        /// <summary>
        /// his 预约页面号段长度
        /// </summary>
        public HisIntervalSpan? HisIntervalSpan { get; set; }

    }
}
